package cn.ecnu.vo;

import cn.ecnu.entity.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderVo {
    private String id;
    private String uid;
    //1.
    private Address sendAddress;
    //2.
    private Address receiveAddress;
    private String type;
    private Double weight;
    private Double length;
    private Double height;
    private Double width;
    private Double value;
    private Date orderTime;
    private String status;
    private String route;
    private Integer currentIndex;
    //3.
    private Employee employee;
    //4.
    private Car car;
    //5.
    private Record[] records;
    private String sendName;
    private String receiveName;
    private Date finishTime;
    private String sendPhone;
    private String receivePhone;
    private Date cancelTime;
}
